package com.tarena.lbs.business.servcie;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.api.pojo.BusinessDto;
import com.tarena.lbs.business.pojo.param.BusinessParam;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import com.tarena.lbs.business.pojo.vo.BusinessStoreVO;
import com.tarena.lbs.business.pojo.vo.BusinessVO;

public interface BusinessService {

    void save(BusinessParam param) throws BusinessException;

    PageResult<BusinessVO> getBusinessList(BusinessQuery query);

    BusinessStoreVO selectBusinessStoreDetail(Integer businessId) throws BusinessException;


    BusinessDto getBusinessById(Integer businessId) throws BusinessException;
}
